package com.webdemo9.dao;

import java.util.List;

import com.webdemo9.bean.UsersBean;

public interface UsersDao  {
	
	public UsersBean usersLogin(String username);
	
	public List<UsersBean> search();
	
	public UsersBean search(String username);
	
	public int reg(UsersBean ub);
	
	public boolean checkUsername(String username);
	
	public int delete(String username);
	
	public int update(UsersBean ub);
	
	public int getTotalRecords();
	
	public List<UsersBean> search(int startPos, int PAGESIZE);
}
